package com.dengxian.usercenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dengxian.usercenter.model.VO.UserVO;
import com.dengxian.usercenter.model.domain.Im;
import com.dengxian.usercenter.model.domain.User;

import java.util.List;

/**
* @author 86151
* @description 针对表【im】的数据库操作Service
* @createDate 2023-03-21 22:43:49
*/
public interface ImService extends IService<Im> {

    /**
     * 获取与登录用户有聊天记录用户列表
     * @param loginUser
     * @return
     */
    List<UserVO> listUsers(User loginUser);

    /**
     * 获取当前登录用户与某个用户的聊天记录
     * @param messagesUserRequest
     * @param loginUser
     * @return
     */
//    List<Im> userMessagesList(MessagesUserRequest messagesUserRequest, User loginUser);
}
